<?php


namespace App\Http\Request\Upload;


use App\Common\Utils\BaseRequest;

class downloadRequest extends BaseRequest
{

    public function rules() {
        $rules = [
            'resources' => 'required',
            'zipname' => 'required'
        ];

        return $rules;
    }

    public function messages() {
        $messages = [
            'resources.required' => '参数资源不能为空',
            'zipname.required' => '保存后的文件名不能为空',

        ];

        return $messages;
    }
}
